radio button: Fix directional navigation
authorMatthias Clasen <mclasen@redhat.com>
Sun, 29 Mar 2015 04:24:35 +0000 (00:24 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 29 Mar 2015 04:24:35 +0000 (00:24 -0400)
commit06484533396c64913c2f7cf5496bd45e190f6dad
treeb46caebc88e79c7d67a36fabdbe657111c880f9c
parent505fed1383fc3f092f8ee1f9d2f1f840f8579953
radio button: Fix directional navigation

GtkRadioButton had a deficient copy of the focus sort code
in GtkContainer, causing focus to jump over the next button
in the list. Just use _gtk_container_focus_sort() here,
which fixes the bug _and_ saves 80 lines of code.

https://bugzilla.gnome.org/show_bug.cgi?id=746817
gtk/gtkradiobutton.c